AmeliaBooking\Infrastructure\Repository\Booking\Appointment\AppointmentRepository D

Total Complexity 148
Dependencies 12
Dependents 1
Total lines 1,704
Lines of code 1,221
Logical lines of code 483
Comment lines 107
Methods 17
Properties 11

Methods 17

Method Rating Maintainability Complexity Lines of code
getFiltered()
D
16
43 328
getPeriodAppointments()
C
30 24 122
getPeriodAppointmentsCount()
B
35 19 82
getFutureAppointments()
A
37 9 86
getFutureAppointmentsServicesIds()
A
49 8 28
getFutureAppointmentsProvidersIds()
A
49 8 28
getByPaymentId()
A
39 3 91
getByBookingId()
S
39 3 88
add()
S
43 5 54
getRelevantAppointmentsCount()
S
43 5 49
getById()
S
39 2 94
getCurrentAppointments()
S
48 5 33
getLastBookedEmployee()
S
49 5 29
update()
S
44 3 48
updateStatusById()
S
55 3 21
getAppointmentsWithoutBookings()
S
53 2 26
__construct()
S
59 1 14